package com.xuxin.pda.contract;

import com.xuxin.pda.bean.CompanyBean;
import com.xuxin.pda.bean.TrashExitBean;
import com.xuxin.pda.bean.WarehouseBean;
import com.xuxin.pda.presenter.TrashExitPresenter;

/**
 * Created by xu_xin
 * Created on 2021/2/7 0007
 */
public interface TrashExitContract {

    interface Model {

        void GetWarehouseInfo(TrashExitPresenter presenter, String WarehouseId);

        void trashExit(TrashExitPresenter presenter, String name, String WarehouseId, String UserId, String message);

        void GetCompany(TrashExitPresenter presenter);
    }

    interface View extends BaseContract.view {

        void onSuccess(WarehouseBean warehouseBean);

        void onSuccess(TrashExitBean trashExitBean);

        void onSuccess(CompanyBean companyBean);
    }

    interface Presenter extends BaseContract.presenter {

        void GetWarehouseInfo(String WarehouseId);

        void trashExit(String name, String WarehouseId, String UserId, String message);

        void GetCompany( );

        void onSuccess(WarehouseBean warehouseBean);

        void onSuccess(TrashExitBean trashExitBean);

        void onSuccess(CompanyBean companyBean);
    }
}